// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '护工工作明细表',
        name: 'PorterWorkDetail',
        url: "/PorterWorkDetail/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'主键ID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'PorterId',title:'护工ID',type:'string',width:110,align:'left'},
                       {field:'WardAreaId',title:'病区ID',type:'string',width:110,align:'left'},
                       {field:'WardId',title:'病房ID',type:'string',width:110,align:'left'},
                       {field:'BedId',title:'床位ID',type:'string',width:110,align:'left'},
                       {field:'ReplaceBedSheet',title:'更换床单',type:'int',width:110,align:'left'},
                       {field:'ReplaceBedding',title:'更换被褥',type:'int',width:110,align:'left'},
                       {field:'Disinfect',title:'消毒液擦拭床头柜',type:'int',width:110,align:'left'},
                       {field:'Emit',title:'枕头紫外线照射',type:'int',width:110,align:'left'},
                       {field:'ReplaceMattress',title:'更换床垫',type:'int',width:110,align:'left'},
                       {field:'OutDisinfect',title:'出院消毒',type:'int',width:110,align:'left'},
                       {field:'WorkTime',title:'时间',type:'datetime',width:150,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}